package org.wlldTest.lesson8;

import org.dromara.easyai.entity.ThreeChannelMatrix;
import org.dromara.easyai.i.OutBack;
import org.dromara.easyai.matrixTools.Matrix;

import java.util.List;

public class Back implements OutBack {
    private float v1;
    private float v2;

    public float getV1() {
        return v1;
    }

    public float getV2() {
        return v2;
    }

    @Override
    public void getBack(float v, int i, long l) {
        if (i == 1) {
            v1 = v;
        } else {
            v2 = v;
        }
    }

    @Override
    public void getSoftMaxBack(long l, List<Float> list) {
        System.out.println(list);
    }

    @Override
    public void backWord(String s, long l) {

    }

    @Override
    public void getBackMatrix(Matrix matrix, int id, long l) {

    }

    @Override
    public void getWordVector(int i, float v) {

    }

    @Override
    public void getBackThreeChannelMatrix(ThreeChannelMatrix threeChannelMatrix) {

    }


}
